package com.atguigu.springsecurity.mapper;

import com.atguigu.springsecurity.entity.Menu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.*;

public interface MenuMapper extends BaseMapper<Menu> {

    // 根据userId查询对应的权限信息
    List<String> selectPermsByUserId(@Param("userId") Long userId);
}
